<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>DWPlayerView Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">bokecc </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">com.bokecc</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	
	<optgroup label="Properties">
		
		<option value="//api/name/delegate">delegate</option>
		
		<option value="//api/name/forwardBufferDuration">forwardBufferDuration</option>
		
		<option value="//api/name/isSpar">isSpar</option>
		
		<option value="//api/name/loadStyle">loadStyle</option>
		
		<option value="//api/name/looping">looping</option>
		
		<option value="//api/name/muted">muted</option>
		
		<option value="//api/name/pausedTimes">pausedTimes</option>
		
		<option value="//api/name/playedTimes">playedTimes</option>
		
		<option value="//api/name/player">player</option>
		
		<option value="//api/name/playerLayer">playerLayer</option>
		
		<option value="//api/name/playing">playing</option>
		
		<option value="//api/name/timeOutBuffer">timeOutBuffer</option>
		
		<option value="//api/name/timeOutLoad">timeOutLoad</option>
		
		<option value="//api/name/videoModel">videoModel</option>
		
		<option value="//api/name/videoProtect">videoProtect</option>
		
		<option value="//api/name/writeURL">writeURL</option>
		
	</optgroup>
	

	
	<optgroup label="Class Methods">
		
		<option value="//api/name/sharedInstance">+ sharedInstance</option>
		
	</optgroup>
	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/disableAirplay">- disableAirplay</option>
		
		<option value="//api/name/downloadModel">- downloadModel</option>
		
		<option value="//api/name/drmGIFURL">- drmGIFURL</option>
		
		<option value="//api/name/enableAirplay">- enableAirplay</option>
		
		<option value="//api/name/fadeInVolume">- fadeInVolume</option>
		
		<option value="//api/name/fadeOutVolume">- fadeOutVolume</option>
		
		<option value="//api/name/init">- init</option>
		
		<option value="//api/name/initWithFrame:">- initWithFrame:</option>
		
		<option value="//api/name/isAirplayEnabled">- isAirplayEnabled</option>
		
		<option value="//api/name/oldTimeScrub:">- oldTimeScrub:</option>
		
		<option value="//api/name/pause">- pause</option>
		
		<option value="//api/name/play">- play</option>
		
		<option value="//api/name/playLocalVideo:">- playLocalVideo:</option>
		
		<option value="//api/name/playVodViedo:withCustomId:">- playVodViedo:withCustomId:</option>
		
		<option value="//api/name/playableDuration">- playableDuration</option>
		
		<option value="//api/name/qualityModel">- qualityModel</option>
		
		<option value="//api/name/removeTimer">- removeTimer</option>
		
		<option value="//api/name/repeatPlay">- repeatPlay</option>
		
		<option value="//api/name/reportExercisesWithExercisesId:videoId:UserId:QuestionMes:AndCompletion:">- reportExercisesWithExercisesId:videoId:UserId:QuestionMes:AndCompletion:</option>
		
		<option value="//api/name/reportQuestionWithVideoId:questionId:answerId:status:">- reportQuestionWithVideoId:questionId:answerId:status:</option>
		
		<option value="//api/name/reportVisitorCollectWithVisitorId:VideoId:UserId:AndMessage:">- reportVisitorCollectWithVisitorId:VideoId:UserId:AndMessage:</option>
		
		<option value="//api/name/resetPlayer">- resetPlayer</option>
		
		<option value="//api/name/screenShot">- screenShot</option>
		
		<option value="//api/name/scrub:">- scrub:</option>
		
		<option value="//api/name/scrubPrecise:CompletionHandler:">- scrubPrecise:CompletionHandler:</option>
		
		<option value="//api/name/setPictureInPicture:">- setPictureInPicture:</option>
		
		<option value="//api/name/setPlayInBackground:">- setPlayInBackground:</option>
		
		<option value="//api/name/setPlayerRate:">- setPlayerRate:</option>
		
		<option value="//api/name/setVolume:">- setVolume:</option>
		
		<option value="//api/name/switchQuality:withCustomId:">- switchQuality:withCustomId:</option>
		
		<option value="//api/name/switchSparPlayLine">- switchSparPlayLine</option>
		
		<option value="//api/name/unDrmGIFURL">- unDrmGIFURL</option>
		
		<option value="//api/name/urlOfCurrentlyPlayingInPlayer">- urlOfCurrentlyPlayingInPlayer</option>
		
		<option value="//api/name/videoGravity">- videoGravity</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">DWPlayerView Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>UIView</td>
</tr><tr>
	<th>Declared in</th>
	<td>DWPlayerView.h<br />DWPlayerView.m</td>
</tr>
						</tbody></table></div>
					

                    

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						<h2 class="task-title">Other Methods</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/initWithFrame:" title="initWithFrame:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithFrame:">&ndash;&nbsp;initWithFrame:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>初始化播放对象</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (instancetype)initWithFrame:(CGRect)<em>frame</em></code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>DWPlayerView</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>初始化播放对象</p>

<p>@param frame</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sharedInstance" title="sharedInstance"></a>
	<h3 class="method-title"><code><a href="#//api/name/sharedInstance">+&nbsp;sharedInstance</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>单例</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (instancetype)sharedInstance</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>单例对象</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>单例</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/playVodViedo:withCustomId:" title="playVodViedo:withCustomId:"></a>
	<h3 class="method-title"><code><a href="#//api/name/playVodViedo:withCustomId:">&ndash;&nbsp;playVodViedo:withCustomId:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>播放网络视频 , 播放默认清晰度，对于在线媒体，必须要执行此方法，否则会导致数据统计缺失</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)playVodViedo:(DWVodVideoModel *)<em>videoModel</em> withCustomId:(NSString *)<em>customId</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>videoModel</code></th>
						<td><p>视频model</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>customId</code></th>
						<td><p>用户自定义参数  有自定义统计参数需求／流量统计的客户必须传值，没有此需求的客户请传nil</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>播放网络视频 , 播放默认清晰度，对于在线媒体，必须要执行此方法，否则会导致数据统计缺失</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/playLocalVideo:" title="playLocalVideo:"></a>
	<h3 class="method-title"><code><a href="#//api/name/playLocalVideo:">&ndash;&nbsp;playLocalVideo:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>播放本地视频</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)playLocalVideo:(DWDownloadModel *)<em>downloadModel</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>播放本地视频</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.m</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/switchQuality:withCustomId:" title="switchQuality:withCustomId:"></a>
	<h3 class="method-title"><code><a href="#//api/name/switchQuality:withCustomId:">&ndash;&nbsp;switchQuality:withCustomId:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>切换清晰度方法</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)switchQuality:(DWVideoQualityModel *)<em>qualitiyModel</em> withCustomId:(NSString *)<em>customId</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>qualitiyModel</code></th>
						<td><p>清晰度model</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>customId</code></th>
						<td><p>用户自定义参数  有自定义统计参数需求／流量统计的客户必须传值，没有此需求的客户请传nil</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>切换清晰度方法</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/switchSparPlayLine" title="switchSparPlayLine"></a>
	<h3 class="method-title"><code><a href="#//api/name/switchSparPlayLine">&ndash;&nbsp;switchSparPlayLine</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>切换备用线路 切换当前清晰度下的备用线路</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)switchSparPlayLine</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>切换备用线路 切换当前清晰度下的备用线路</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setPlayInBackground:" title="setPlayInBackground:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setPlayInBackground:">&ndash;&nbsp;setPlayInBackground:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置是否允许后台播放</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setPlayInBackground:(BOOL)<em>play</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>play</code></th>
						<td><p>是否允许后台播放</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>设置是否允许后台播放</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setPictureInPicture:" title="setPictureInPicture:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setPictureInPicture:">&ndash;&nbsp;setPictureInPicture:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置是否画中画模式</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setPictureInPicture:(BOOL)<em>openPIP</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>play</code></th>
						<td><p>是否画中画模式</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>设置是否画中画模式</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setPlayerRate:" title="setPlayerRate:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setPlayerRate:">&ndash;&nbsp;setPlayerRate:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>切换倍速</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setPlayerRate:(float)<em>rate</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>rate</code></th>
						<td><p>速率</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>切换倍速</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/repeatPlay" title="repeatPlay"></a>
	<h3 class="method-title"><code><a href="#//api/name/repeatPlay">&ndash;&nbsp;repeatPlay</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>重复播放当前媒体</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)repeatPlay</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>重复播放当前媒体</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/qualityModel" title="qualityModel"></a>
	<h3 class="method-title"><code><a href="#//api/name/qualityModel">&ndash;&nbsp;qualityModel</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>当前正在播放的媒体清晰度model，非在线视频返回nil。注意，在调用playVodViedo:withCustomId:方法后才可获取到此属性</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (DWVideoQualityModel *)qualityModel</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>当前正在播放的媒体清晰度model，非在线视频返回nil。注意，在调用playVodViedo:withCustomId:方法后才可获取到此属性</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/downloadModel" title="downloadModel"></a>
	<h3 class="method-title"><code><a href="#//api/name/downloadModel">&ndash;&nbsp;downloadModel</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>返回当前播放的离线model，在线视频返回nil。注意，在调用playLocalVideo:方法后才可获取到此属性。</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (DWDownloadModel *)downloadModel</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>返回当前播放的离线model，在线视频返回nil。注意，在调用playLocalVideo:方法后才可获取到此属性。</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/play" title="play"></a>
	<h3 class="method-title"><code><a href="#//api/name/play">&ndash;&nbsp;play</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>播放</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)play</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>播放</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/pause" title="pause"></a>
	<h3 class="method-title"><code><a href="#//api/name/pause">&ndash;&nbsp;pause</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>暂停</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)pause</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>暂停</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/scrub:" title="scrub:"></a>
	<h3 class="method-title"><code><a href="#//api/name/scrub:">&ndash;&nbsp;scrub:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>拖到XX秒播放视频，在AVPlayerItemStatusReadyToPlay即状态处于可播放后 才会有效果</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)scrub:(float)<em>time</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>time</code></th>
						<td><p>跳转时间</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>拖到XX秒播放视频，在AVPlayerItemStatusReadyToPlay即状态处于可播放后 才会有效果</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/scrubPrecise:CompletionHandler:" title="scrubPrecise:CompletionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/scrubPrecise:CompletionHandler:">&ndash;&nbsp;scrubPrecise:CompletionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>精确拖拽到XX秒播放视频，在AVPlayerItemStatusReadyToPlay即状态处于可播放后 才会有效果</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)scrubPrecise:(float)<em>time</em> CompletionHandler:(void ( ^ ) ( BOOL finished ))<em>completion</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>time</code></th>
						<td><p>跳转时间</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completion</code></th>
						<td><p>跳转完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>精确拖拽到XX秒播放视频，在AVPlayerItemStatusReadyToPlay即状态处于可播放后 才会有效果</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/oldTimeScrub:" title="oldTimeScrub:"></a>
	<h3 class="method-title"><code><a href="#//api/name/oldTimeScrub:">&ndash;&nbsp;oldTimeScrub:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>记录播放位置的方法(只为记忆播放功能使用 其它地方请调用scrub / scrubPrecise方法)，在AVPlayerItemStatusReadyToPlay即状态处于可播放后 才会有效果</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)oldTimeScrub:(float)<em>time</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>time</code></th>
						<td><p>跳转时间</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>记录播放位置的方法(只为记忆播放功能使用 其它地方请调用scrub / scrubPrecise方法)，在AVPlayerItemStatusReadyToPlay即状态处于可播放后 才会有效果</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setVolume:" title="setVolume:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setVolume:">&ndash;&nbsp;setVolume:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置音量</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setVolume:(float)<em>volume</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>volume</code></th>
						<td><p>音量</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>设置音量</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/fadeInVolume" title="fadeInVolume"></a>
	<h3 class="method-title"><code><a href="#//api/name/fadeInVolume">&ndash;&nbsp;fadeInVolume</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>加大音量</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)fadeInVolume</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>加大音量</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/fadeOutVolume" title="fadeOutVolume"></a>
	<h3 class="method-title"><code><a href="#//api/name/fadeOutVolume">&ndash;&nbsp;fadeOutVolume</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>减小音量</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)fadeOutVolume</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>减小音量</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/resetPlayer" title="resetPlayer"></a>
	<h3 class="method-title"><code><a href="#//api/name/resetPlayer">&ndash;&nbsp;resetPlayer</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>关闭|释放播放资源</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)resetPlayer</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>关闭|释放播放资源</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/removeTimer" title="removeTimer"></a>
	<h3 class="method-title"><code><a href="#//api/name/removeTimer">&ndash;&nbsp;removeTimer</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>停止视频播放统计 播放页面关闭时务必调用removeTimer方法
注意：播放页面关闭时 如需释放资源 调用方式如下{
                                          [playerView removeTimer];
                                          [playerView resetPlayer];</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)removeTimer</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>停止视频播放统计 播放页面关闭时务必调用removeTimer方法
注意：播放页面关闭时 如需释放资源 调用方式如下{
                                          [playerView removeTimer];
                                          [playerView resetPlayer];</p>

<pre><code>                                    }

             如无需释放播放资源 调用方式如下{
                                        [playerView removeTimer];
                                        [playerView pause];
</code></pre>

<p>}</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/enableAirplay" title="enableAirplay"></a>
	<h3 class="method-title"><code><a href="#//api/name/enableAirplay">&ndash;&nbsp;enableAirplay</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>支持AirPlay外部播放 默认支持</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)enableAirplay</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>支持AirPlay外部播放 默认支持</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/disableAirplay" title="disableAirplay"></a>
	<h3 class="method-title"><code><a href="#//api/name/disableAirplay">&ndash;&nbsp;disableAirplay</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>不支持AirPlay外部播放</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)disableAirplay</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>不支持AirPlay外部播放</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/isAirplayEnabled" title="isAirplayEnabled"></a>
	<h3 class="method-title"><code><a href="#//api/name/isAirplayEnabled">&ndash;&nbsp;isAirplayEnabled</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>检测是否支持支持AirPlay外部播放</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (BOOL)isAirplayEnabled</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>BOOL</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>检测是否支持支持AirPlay外部播放</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/screenShot" title="screenShot"></a>
	<h3 class="method-title"><code><a href="#//api/name/screenShot">&ndash;&nbsp;screenShot</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取当前播放器截图</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (UIImage *)screenShot</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取当前播放器截图</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/reportQuestionWithVideoId:questionId:answerId:status:" title="reportQuestionWithVideoId:questionId:answerId:status:"></a>
	<h3 class="method-title"><code><a href="#//api/name/reportQuestionWithVideoId:questionId:answerId:status:">&ndash;&nbsp;reportQuestionWithVideoId:questionId:answerId:status:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>问答统计 有此需求的客户调用 一个问题只发送一次</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)reportQuestionWithVideoId:(NSString *)<em>videoId</em> questionId:(NSString *)<em>questionId</em> answerId:(NSString *)<em>answerId</em> status:(BOOL)<em>status</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>videoId</code></th>
						<td><p>视频ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>questionId</code></th>
						<td><p>问题ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>answerId</code></th>
						<td><p>用户选择的选项ID，以逗号分隔多个选项ID。
如1345是单选 2067,3092,4789是多选</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>status</code></th>
						<td><p>YES正确 NO错误</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>问答统计 有此需求的客户调用 一个问题只发送一次</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/reportVisitorCollectWithVisitorId:VideoId:UserId:AndMessage:" title="reportVisitorCollectWithVisitorId:VideoId:UserId:AndMessage:"></a>
	<h3 class="method-title"><code><a href="#//api/name/reportVisitorCollectWithVisitorId:VideoId:UserId:AndMessage:">&ndash;&nbsp;reportVisitorCollectWithVisitorId:VideoId:UserId:AndMessage:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>访客信息统计上报 有此需求的客户调用</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)reportVisitorCollectWithVisitorId:(NSString *)<em>visitorId</em> VideoId:(NSString *)<em>videoId</em> UserId:(NSString *)<em>userId</em> AndMessage:(NSString *)<em>message</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>visitorId</code></th>
						<td><p>访客信息收集器ID  必填</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>videoId</code></th>
						<td><p>视频ID 必填</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>userId</code></th>
						<td><p>CC账号ID  必填</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>message</code></th>
						<td><p>上报信息 必填 具体格式详见demo</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>访客信息统计上报 有此需求的客户调用</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/reportExercisesWithExercisesId:videoId:UserId:QuestionMes:AndCompletion:" title="reportExercisesWithExercisesId:videoId:UserId:QuestionMes:AndCompletion:"></a>
	<h3 class="method-title"><code><a href="#//api/name/reportExercisesWithExercisesId:videoId:UserId:QuestionMes:AndCompletion:">&ndash;&nbsp;reportExercisesWithExercisesId:videoId:UserId:QuestionMes:AndCompletion:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>课堂练习统计上报 有此需求的客户调用</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)reportExercisesWithExercisesId:(NSString *)<em>exercisesId</em> videoId:(NSString *)<em>videoId</em> UserId:(NSString *)<em>userId</em> QuestionMes:(NSString *)<em>questionMes</em> AndCompletion:(void ( ^ ) ( NSArray *resultArray , NSError *error ))<em>completion</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>exercisesId</code></th>
						<td><p>课堂练习ID 必填</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>videoId</code></th>
						<td><p>视频ID 必填</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>userId</code></th>
						<td><p>CC账号ID  必填</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>questionMes</code></th>
						<td><p>上报信息 必填 具体格式详见demo</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completion</code></th>
						<td><p>完成回调，返回课堂练习结果</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>课堂练习统计上报 有此需求的客户调用</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/playableDuration" title="playableDuration"></a>
	<h3 class="method-title"><code><a href="#//api/name/playableDuration">&ndash;&nbsp;playableDuration</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取可播放的持续时间</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSTimeInterval)playableDuration</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>可播放的持续时间</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取可播放的持续时间</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/videoGravity" title="videoGravity"></a>
	<h3 class="method-title"><code><a href="#//api/name/videoGravity">&ndash;&nbsp;videoGravity</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>AVPlayerLayer的videoGravity属性设置
AVLayerVideoGravityResize,       // 非均匀模式。两个维度完全填充至整个视图区域
AVLayerVideoGravityResizeAspect,  // 等比例填充，直到一个维度到达区域边界
AVLayerVideoGravityResizeAspectFill, // 等比例填充，直到填充满整个视图区域，其中一个维度的部分区域会被裁剪</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSString *)videoGravity</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>AVPlayerLayer的videoGravity属性设置
AVLayerVideoGravityResize,       // 非均匀模式。两个维度完全填充至整个视图区域
AVLayerVideoGravityResizeAspect,  // 等比例填充，直到一个维度到达区域边界
AVLayerVideoGravityResizeAspectFill, // 等比例填充，直到填充满整个视图区域，其中一个维度的部分区域会被裁剪</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/urlOfCurrentlyPlayingInPlayer" title="urlOfCurrentlyPlayingInPlayer"></a>
	<h3 class="method-title"><code><a href="#//api/name/urlOfCurrentlyPlayingInPlayer">&ndash;&nbsp;urlOfCurrentlyPlayingInPlayer</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取当前player播放的URL 可用于截图</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSURL *)urlOfCurrentlyPlayingInPlayer</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>当前播放URL</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取当前player播放的URL 可用于截图</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/drmGIFURL" title="drmGIFURL"></a>
	<h3 class="method-title"><code><a href="#//api/name/drmGIFURL">&ndash;&nbsp;drmGIFURL</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取用来做GIF功能的URL 加密调用</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSURL *)drmGIFURL</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>URL</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取用来做GIF功能的URL 加密调用</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/unDrmGIFURL" title="unDrmGIFURL"></a>
	<h3 class="method-title"><code><a href="#//api/name/unDrmGIFURL">&ndash;&nbsp;unDrmGIFURL</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取用来做GIF功能的URL 非加密调用</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSURL *)unDrmGIFURL</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>URL</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取用来做GIF功能的URL 非加密调用</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						

						
						<h2 class="task-title">Other Methods</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/player" title="player"></a>
	<h3 class="method-title"><code><a href="#//api/name/player">&nbsp;&nbsp;player</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>播放属性</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, readonly) AVPlayer *player</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>播放属性</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/playerLayer" title="playerLayer"></a>
	<h3 class="method-title"><code><a href="#//api/name/playerLayer">&nbsp;&nbsp;playerLayer</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>播放图层</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, readonly) AVPlayerLayer *playerLayer</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>播放图层</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/delegate" title="delegate"></a>
	<h3 class="method-title"><code><a href="#//api/name/delegate">&nbsp;&nbsp;delegate</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>代理</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, weak) id&lt;DWVideoPlayerDelegate&gt; delegate</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>代理</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/playing" title="playing"></a>
	<h3 class="method-title"><code><a href="#//api/name/playing">&nbsp;&nbsp;playing</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>//是否正在播放</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) BOOL playing</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>//是否正在播放</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/looping" title="looping"></a>
	<h3 class="method-title"><code><a href="#//api/name/looping">&nbsp;&nbsp;looping</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>是否循环播放 默认为NO</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL looping</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>是否循环播放 默认为NO</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/muted" title="muted"></a>
	<h3 class="method-title"><code><a href="#//api/name/muted">&nbsp;&nbsp;muted</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>是否静音 默认为NO</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL muted</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>是否静音 默认为NO</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/timeOutLoad" title="timeOutLoad"></a>
	<h3 class="method-title"><code><a href="#//api/name/timeOutLoad">&nbsp;&nbsp;timeOutLoad</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>视频加载超时时间 默认30s</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) CGFloat timeOutLoad</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>视频加载超时时间 默认30s</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/timeOutBuffer" title="timeOutBuffer"></a>
	<h3 class="method-title"><code><a href="#//api/name/timeOutBuffer">&nbsp;&nbsp;timeOutBuffer</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>缓存超时时间 默认30s</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) CGFloat timeOutBuffer</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>缓存超时时间 默认30s</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/loadStyle" title="loadStyle"></a>
	<h3 class="method-title"><code><a href="#//api/name/loadStyle">&nbsp;&nbsp;loadStyle</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>缓冲模式 默认DWPlayerViewLoadStyleDefault</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) DWPlayerViewLoadStyle loadStyle</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>缓冲模式 默认DWPlayerViewLoadStyleDefault</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/videoProtect" title="videoProtect"></a>
	<h3 class="method-title"><code><a href="#//api/name/videoProtect">&nbsp;&nbsp;videoProtect</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>是否开启防录屏模式，默认为NO。
注意：此属性仅针对iOS11以上系统生效。</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL videoProtect</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>是否开启防录屏模式，默认为NO。
注意：此属性仅针对iOS11以上系统生效。</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/forwardBufferDuration" title="forwardBufferDuration"></a>
	<h3 class="method-title"><code><a href="#//api/name/forwardBufferDuration">&nbsp;&nbsp;forwardBufferDuration</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>期待缓冲时长 默认 0，建议取值1 ~ 50 。
注意：此属性仅针对iOS10以上系统， m3u8格式视频有效。</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) NSTimeInterval forwardBufferDuration</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>期待缓冲时长 默认 0，建议取值1 ~ 50 。
注意：此属性仅针对iOS10以上系统， m3u8格式视频有效。</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/isSpar" title="isSpar"></a>
	<h3 class="method-title"><code><a href="#//api/name/isSpar">&nbsp;&nbsp;isSpar</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>是否是备用线路</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) BOOL isSpar</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>是否是备用线路</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/playedTimes" title="playedTimes"></a>
	<h3 class="method-title"><code><a href="#//api/name/playedTimes">&nbsp;&nbsp;playedTimes</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>当前播放时长</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) NSTimeInterval playedTimes</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>当前播放时长</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/pausedTimes" title="pausedTimes"></a>
	<h3 class="method-title"><code><a href="#//api/name/pausedTimes">&nbsp;&nbsp;pausedTimes</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>当前暂停时长</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) NSTimeInterval pausedTimes</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>当前暂停时长</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/init" title="init"></a>
	<h3 class="method-title"><code><a href="#//api/name/init">&ndash;&nbsp;init</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>初始化播放对象</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (instancetype)init</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>DWPlayerView</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>初始化播放对象</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						

						<a title="Extension Methods" name="task_Extension Methods"></a>
						<h2 class="task-title">Extension Methods</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/videoModel" title="videoModel"></a>
	<h3 class="method-title"><code><a href="#//api/name/videoModel">&nbsp;&nbsp;videoModel</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>用于请求视频播放信息。</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong) DWVodVideoModel *videoModel</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>用于请求视频播放信息。</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.m</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/writeURL" title="writeURL"></a>
	<h3 class="method-title"><code><a href="#//api/name/writeURL">&nbsp;&nbsp;writeURL</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>正在使用的URL。</p>

<p>若播放url的扩展名为pcm，则 writeURL为： <a href="http://127.0.0.1:xxx/pcm?url=urlEncode(currentContentURl">http://127.0.0.1:xxx/pcm?url=urlEncode(currentContentURl)</a>)， 否则 writeURL 同 URL。</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (strong, nonatomic) NSURL *writeURL</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">DWPlayerView.m</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2020 com.bokecc. All rights reserved. Updated: 2020-07-14</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>